home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 21
/
CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso
/
CUCD
/
Programming
/
Python-1.4
/
Source
/
Amiga
/
Python_netlib
/
netlib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-09-29
|
710b
|
27 lines
/*
* $Id: netlib.h,v 4.1 1994/09/29 23:09:02 jraja Exp $
*
* netlib.h - common Network Support Library definitions
*
* Copyright © 1994 AmiTCP/IP Group,
* Network Solutions Development Inc.
* All rights reserved.
*/
/*
* This is supposed to be compiler-independent error setting interface
*/
#ifdef __SASC
extern int _OSERR;
extern int errno;
extern int __io2errno(int);
#define __set_errno(x) do { errno = __io2errno(_OSERR = (x)); } while (0)
#define SET_OSERR(code) do { _OSERR = (code); } while (0)
#else
void __set_errno(UBYTE code);
#define SET_OSERR(code) do { } while (0)
#endif
#define set_errno __set_errno
#define OSERR _OSERR